package services.user;

import persistences.PlanDAO;
public class Majorplan {
private String MajorplanId;
private String MajorplanName;
private String hours;
private String teacher;
private String content;
private String purpose;

public Majorplan(String MajorplanId,String MajorplanName,String hours,String teacher,String content,String purpose ){
	this.MajorplanId = MajorplanId;
	this.MajorplanName =MajorplanName ;
	this.hours=hours;
	this.teacher=teacher;
	this.content=content;
	this.purpose=purpose;
}

public int updateMajorplan(){
	int result = 0;
	
	result = new PlanDAO().updateMajorplan( MajorplanId, MajorplanName, hours, teacher, content, purpose);   
			
	return result;
}
}

